package eu.smoothit.sis.qos.test;

import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;

import org.junit.Test;

import eu.smoothit.sis.qos.QosManager;
import eu.smoothit.sis.qos.impl.QosManagerImpl;

public class QosTestSuite {
	
	@Test
	public void reserveTestCase()
	{
		QosManager mgr = new QosManagerImpl();
		assertTrue(mgr.reserveResources(null, 0) == 0);
	}
	
	@Test
	public void modifyTestCase()
	{
		QosManager mgr = new QosManagerImpl();
		assertTrue(mgr.modifyResources(0, 0) == 0);
	}
		
	@Test
	public void releaseTestCase()
	{
		QosManager mgr = new QosManagerImpl();
		assertFalse(mgr.releaseResources(0));
	}

}
